<?php
// Celini Setup, installtion should only require editing of:
// App Setup, Database Setup, and possible freeb2 integration

################################################################################
# App Setup
################################################################################
// Session Name
$config['app_name'] = "athena";
// Context path
$config['app_context'] = "athena";

// where forms are uploaded too
$config['user_forms_dir'] = APP_ROOT."/user/form_templates/";
$config['user_reports_dir'] = APP_ROOT."/user/report_templates/";

// where documents are uploaded too
$config['document_manager']['repository'] = APP_ROOT."/user/documents/";

// Base URL directory
//$config['base_dir'] = '/INSTALL_BASE_DIR/';

// Allow Group Appointments on the Calendar
//$config['scheduling']['group_appointments'] = false;

################################################################################
# Database Setup
################################################################################

$config['db_type'] = "mysql";
$config['db_host'] = "localhost";
$config['db_user'] = "root";
$config['db_password'] = "";
$config['db_name'] = "athena";
$config['db_table_prefix'] = "";


################################################################################
## Calendar Options
################################################################################
//$config['CalendarHourStart'] = 7;
//$config['CalendarHourLength'] = 13;
//$config['showCalendarWeekViewLinks'] = true;
//$config['hideCanceledAppointment'] = false;



################################################################################
# Modules (Some modules are enabled by default see config.defaults.php)
################################################################################
//$config['module_paths']['report'] = APP_ROOT . '/modules/report';
//$config['module_paths']['working_calendar'] = APP_ROOT . '/modules/working_calendar';
$config['module_paths']['dept_odontology'] = APP_ROOT . '/modules/dept_odontology';
$config['module_paths']['human_resources'] = APP_ROOT . '/modules/human_resources';
$config['module_paths']['general_emr'] = APP_ROOT . '/modules/general_emr';
$config['module_paths']['billing'] = APP_ROOT . '/modules/billing';
//$config['module_paths']['dept_emer'] = APP_ROOT . '/modules/dept_emer';
//$config['module_paths']['dept_medicine'] = APP_ROOT . '/modules/dept_medicine';
//$config['module_paths']['dept_laboratory'] = APP_ROOT . '/modules/dept_laboratory';
//$config['module_paths']['dept_rad'] = APP_ROOT . '/modules/dept_rad';
//$config['module_paths']['dept_pharmacy'] = APP_ROOT . '/modules/dept_pharmacy';


################################################################################
## Locale settings
################################################################################
/**
 * To change the format of your date and/or time, uncomment the following lines.
 */
#$config['locale']['date_format']      = "%m/%d/%Y";
#$config['locale']['time_format']      = "%H:%i:%s";
#$config['locale']['timestamp_format'] = $config['locale']['date_format'] . ' ' . $config['locale']['time_format']);

################################################################################
# Other Options
################################################################################

// Openemr compat should be unused
$config['template_dir'] = APP_ROOT."/local/templates/";
$GLOBALS['template_dir'] = APP_ROOT."/local/templates/";
//$config['openemr_db'] = 'openemr';

$GLOBALS['C_ALL']['emr_dir'] = "/index.php/";

// template mappings
//$GLOBALS['C_ALL']['group_appointments'] = $config['scheduling']['group_appointments'];

// Extra CSS file(s) to load
$config['extra_css'] = array();

// Show any deprecated function/method call notices
$config['show_deprecated_warnings'] = false;


################################################################################
# Athena One configuration
################################################################################
// Queue
// Currently only one cashier room is available, all cashier users have fixed cashier room id
//$config['default_cashier_room_id'] = 1;


// Ticket
// Ticket prefix name
$config['ticket_prefix'] = "PDV";

// cashier statistics
// Thu ngân có thể xem báo cáo thu tiền của BN bảo hiểm trong vòng 3 ngày gần nhất
//$config['max_insurance_allowance_days'] = 3;

// // Thu ngân có thể xem báo cáo thực thu trong vòng 7 ngày gần nhất
//$config['max_real_payment_allowance_days'] = 7;

// Re-exam type
//$config['near_exam'] 	= 17; 	// Tái khám gần - trong vòng 17 ngày
//$config['far_exam'] 	= 6; 	// Tái khám xa - trong vòng 6 tháng
//$config['older'] 		= 60;	// Người cao tuổi - Từ 60t trở lên

// Payment and insurance
// Phần trăm bảo hiểm tự nguyện hổ trợ
//$config['volunteered_insurance_support'] = 20;		// 20%

// Số tiền tối đa BHTN hỗ trợ
//$config['volunteered_insurance_limitation_for_free'] = 100000; 	// 100.000 VND


// In chữ ký bác sỹ trên đơn kính, toa thuốc
$config['default_print_signature']='no';

// In giá thuốc trên toa
$config['print_prescription_price']	=	'no';


// Liên kết tới trang web nội bộ
$config['local_web'] = "http://ranghammat.vn/";

// Tên BV
$config['hospital_info']['vi_VN']['name'] = 'Phòng khám 78';
$config['hospital_info']['vi_VN']['address'] = '78C4 Phạm Ngũ Lão, Gò Vấp, TPHCM';
$config['hospital_info']['vi_VN']['tel'] = 'Điện thoại: (08) 3.895.7212';
$config['hospital_info']['vi_VN']['manage_department'] = '';


// Địa chỉ BV
$config['hospital_info']['en_US']['name'] = 'Phong Kham 78';
$config['hospital_info']['en_US']['address'] = '78C4 Pham Ngu Lao, Go Vap, HCMC';
$config['hospital_info']['en_US']['tel'] = 'Tel: (08) 3.895.7212';


/*
$config['encounter_estimated_waiting_time'] = array
	(1	=> 2,		// Hàng chờ có 1 BN, thời gian chờ 2 phút
	2	=> 3,		// Hàng chờ có 2 BN, thời gian chờ 3 phút
	3	=> 4,		// ...
	4	=> 5,
	5	=> 6,
	6	=> 8,
	7	=> 10,
	8	=> 10,
	9	=> 10,
	10	=> 10,

	// Hàng chờ có từ 11-15 BN, thời gian chờ 15 phút
	15	=> 15,

	// Hàng chờ có từ 16-20 BN, thời gian chờ 20 phút
	20	=> 20,

	// Hàng chờ có từ 21-25 BN, thời gian chờ 25 phút
	25	=> 25,

	// Hàng chờ có từ 26-30 BN, thời gian chờ 30 phút
	30	=> 30,

	// Hàng chờ > 30 BN, thời gian chờ 40 phút
	31	=> 40
	);
$config['average_time_per_payment'] = 2; // minutes
*/
?>
